﻿@model Wikimentation.Areas.Wikimentation.Models.WikiPage


<div id="wmpage@(Model.Id)">
    <span style="float: right;">

        @Ajax.ActionLink("Delete", "Delete", new { id = Model.Id }, new AjaxOptions
           {
               UpdateTargetId = "wmmain"
           })

    </span>
    <span style="float: right;">

        @Ajax.ActionLink("Edit", "Edit", new { id = Model.Id }, new AjaxOptions
           {
               UpdateTargetId = "wmitem" + Model.Id

           })

    </span>
    
    <div id="wmitem@(Model.Id)">
        <h2>@Model.Title</h2>

        <p class="mwcontent">
            @Html.Raw(Model.Content)
        </p>

    </div>
</div>



